package com.healer.pojo;

import java.util.Date;

public class BookBorrowing {
    private int id;
    private String userId;
    private int bookId;
    private Date borrowingDateTime;
    private Date returnDateTime;
    private int returnStatus;

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public Date getBorrowingDateTime() {
        return borrowingDateTime;
    }

    public void setBorrowingDateTime(Date borrowingDateTime) {
        this.borrowingDateTime = borrowingDateTime;
    }

    public Date getReturnDateTime() {
        return returnDateTime;
    }

    public void setReturnDateTime(Date returnDateTime) {
        this.returnDateTime = returnDateTime;
    }

    public int getReturnStatus() {
        return returnStatus;
    }

    public void setReturnStatus(int returnStatus) {
        this.returnStatus = returnStatus;
    }

    @Override
    public String toString() {
        return "BookBorrowing{" +
                "id=" + id +
                ", userId='" + userId + '\'' +
                ", bookId=" + bookId +
                ", borrowingDateTime=" + borrowingDateTime +
                ", returnDateTime=" + returnDateTime +
                ", returnStatus=" + returnStatus +
                '}';
    }
}
